<?php
$this->breadcrumbs=array(
	'Registrations'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'Daftar', 'url'=>array('index')),
	array('label'=>'Pendaftaran', 'url'=>array('create')),
	array('label'=>'Ubah', 'url'=>array('update', 'id'=>$model->_id)),
	array('label'=>'Hapus', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Pemeliharaan', 'url'=>array('admin')),
);
?>

<h1>View Registration #<?php echo $model->_id; ?></h1>

<?php
$baseUrl = Yii::app()->request->baseUrl . '/files/registration';
echo CHtml::image("$baseUrl/$model->_id.$model->extension", $model->name);
?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'name',
		'birthPlace',
		'birthDate',
		'homeAddress',
		'homeCityType',
		'homeCity',
		'province',
		'emails',
		'phones',
		'position',
		'envoy',
		'envoyProvince',
		'envoyCity',
	),
)); ?>
